//
//  TaskWithGetGoodsByHot.m
//  DuBai
//
//  Created by lt on 14-3-31.
//  Copyright (c) 2014年 darktm. All rights reserved.
//

#import "TaskWithGetGoodsByHot.h"

#import "Best.h"

@implementation TaskWithGetGoodsByHot

-(void)prepare{
    
    [self startAsyncWithParams:nil withMethod:@"GET" withURL:[Configure getGoodsByHot]];
}

-(id)parese{
    
    NSMutableArray *ret = [NSMutableArray array];
    
    for (NSDictionary *dic in self.rcvData) {
        Best *c = [[Best alloc] initWithReflectData:dic];
        [ret addObject:c];
    }
    
    return ret;
}


@end
